﻿using CodeSaude.Domain.Entities;
using CodeSaude.Domain.Interfaces.Repository;
using CodeSaude.Domain.Interfaces.Service;

namespace CodeSaude.Domain.Services
{
    public class DietaService : BaseService<Dieta>, IDietaService
    {

        private readonly IDietaRepository _dietaRepository;

        public DietaService(IDietaRepository dietaRepository)
            : base(dietaRepository)
        {
            _dietaRepository = dietaRepository;
        }

        public void SaveChanges()
        {
            _dietaRepository.SaveChanges();
        }
    }
}
